Creating an ORDER BY Clause

Description

When viewing the Specify DataSource dialog:

  1. Click the Order By button to display the ORDER Clause dialog. An ORDER BY clause sequences the records returned by your SQL SELECT statement.

  2. Select a column from the Sort by list and Ascending or Descending.

  3. Optionally, select another column from the then by list Ascending or Descending.

  4. Optionally, select another column from the and then by list Ascending or Descending.

  5. Click OK to save your selections and return to the Specify DataSource dialog.

See Also